<%--
  Created by IntelliJ IDEA.
  User: panxuanang
  Date: 2010-4-15
  Time: 16:26:34
  Desc: 框架页左边菜单栏
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/pages/inc/taglibs.jsp" %>
<%@ include file="/WEB-INF/pages/inc/nocache.jsp" %>
<html>
<head>
    <title>框架页左边菜单栏</title>
    <link href="${ctx}/themes/default/css/main.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/themes/default/css/tree.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="/js/jquery.js"></script>
    <style type="text/css">
        body, html {
            height: 100%;
        }

        .leftSelectedLink {
            border-top: 1px #5596b6 solid;
            border-left: 1px #5596b6 solid;
            border-bottom: 1px #5596b6 solid;
            height: 23px;
        }

        .leftUnSelectedLink {
            border: none;
        }
    </style>
</head>

<body>
<div id="left">
    <div id="title">管理中心</div>
</div>
<div class="TreeWrap" style="float:left">
    <div class="MenuBox2" id="Menu_0">
        <div class="titBox"><h3>
            <a href="javascript:showMenu(0);">
                <img src="${ctx}/themes/default/images/tree/exchangem.png" alt="用户管理" align="absmiddle"
                     class="treePic"/>
                &nbsp;用户管理
            </a>
        </h3></div>
        <div class="txtBox">
            <ul>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="账户管理" align="absmiddle"/>
                    <a href="${ctx}/user/query/index.aspx" target="pcMainFrame">账户管理</a> <br>
                </li>
                 <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="权限管理" align="absmiddle"/>
                    <a href="${ctx}/user/authority/query/index.aspx" target="pcMainFrame">权限管理</a> <br>
                </li>
                 <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="积分记录" align="absmiddle"/>
                    <a href="${ctx}/user/cent/query/index.aspx" target="pcMainFrame">积分记录</a> <br>
                </li>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="支付记录" align="absmiddle"/>
                    <a href="${ctx}/user/pay/query/index.aspx" target="pcMainFrame">支付记录</a> <br>
                </li>
                 <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="收货信息" align="absmiddle"/>
                    <a href="${ctx}/user/revGoodsAddr/query/index.aspx" target="pcMainFrame">收货信息</a> <br>
                </li>
                 <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="登陆日志" align="absmiddle"/>
                    <a href="${ctx}/user/loginLog/query/index.aspx" target="pcMainFrame">登陆日志</a> <br>
                </li>
            </ul>
        </div>
    </div>
    <div class="MenuBox2" id="Menu_1">
        <div class="titBox"><h3>
            <a href="javascript:showMenu(1);">
                <img src="${ctx}/themes/default/images/tree/exchangem.png" alt="发布商管理" align="absmiddle"
                     class="treePic"/>
                &nbsp;发布商管理
            </a>
        </h3></div>
        <div class="txtBox">
            <ul>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="发布商信息管理" align="absmiddle"/>
                    <a href="${ctx}/publisher/query/index.aspx" target="pcMainFrame">发布商信息管理</a>
                </li>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="发布商权限管理" align="absmiddle"/>
                    <a href="${ctx}/publisher/authority/query/index.aspx" target="pcMainFrame">发布商权限管理</a>
                </li>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="产品商接口通知管理" align="absmiddle"/>
                    <a href="${ctx}/publisher/pro/InterfaceNotify/query/index.aspx" target="pcMainFrame">产品商接口通知管理</a> <br>
                </li>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="产品商结算信息管理" align="absmiddle"/>
                    <a href="${ctx}/publisher/pro/Balance/query/index.aspx" target="pcMainFrame">产品商结算信息管理</a> <br>
                </li>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="广告商结算信息管理" align="absmiddle"/>
                    <a href="${ctx}/publisher/ad/MoneyChange/query/index.aspx" target="pcMainFrame">广告商账户变动记录</a> <br>
                </li>
            </ul>
        </div>
    </div>
    <div class="MenuBox2" id="Menu_2">
        <div class="titBox"><h3>
            <a href="javascript:showMenu(2);">
                <img src="${ctx}/themes/default/images/tree/exchangem.png" alt="广告管理" align="absmiddle"
                     class="treePic"/>
                &nbsp;广告管理
            </a>
        </h3></div>
        <div class="txtBox">
            <ul>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="广告管理" align="absmiddle"/>
                    <a href="${ctx}/advertisement/query/index.aspx" target="pcMainFrame">广告信息管理</a>
                </li>
                 <%--<li>--%>
                    <%--<img src="${ctx}/themes/default/images/tree/query.png" alt="广告管理" align="absmiddle"/>--%>
                    <%--<a href="${ctx}/publisher/query/index.aspx" target="pcMainFrame">发布计划管理</a>--%>
                <%--</li>--%>
                 <%--<li>--%>
                    <%--<img src="${ctx}/themes/default/images/tree/query.png" alt="广告管理" align="absmiddle"/>--%>
                    <%--<a href="${ctx}/publisher/query/index.aspx" target="pcMainFrame">广告商任务日志</a>--%>
                <%--</li>--%>
            </ul>
        </div>
    </div>
    <div class="MenuBox2" id="Menu_3">
        <div class="titBox"><h3>
            <a href="javascript:showMenu(3);">
                <img src="${ctx}/themes/default/images/tree/exchangem.png" alt="商品管理" align="absmiddle"
                     class="treePic"/>
                &nbsp;商品管理
            </a>
        </h3></div>
        <div class="txtBox">
            <ul>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="商品管理" align="absmiddle"/>
                    <a href="${ctx}/product/query/index.aspx" target="pcMainFrame">商品管理</a>
                </li>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="虚拟货物管理" align="absmiddle"/>
                    <a href="${ctx}/product/VirtualGoods/query/index.aspx" target="pcMainFrame">虚拟货物管理</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="MenuBox2" id="Menu_4">
        <div class="titBox"><h3>
            <a href="javascript:showMenu(4);">
                <img src="${ctx}/themes/default/images/tree/exchangem.png" alt="消息邮件管理" align="absmiddle"
                     class="treePic"/>
                &nbsp;消息管理
            </a>
        </h3></div>
        <div class="txtBox">
            <ul>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="邮件通知记录" align="absmiddle"/>
                    <a href="${ctx}/message/mail/query/index.aspx" target="pcMainFrame">邮件通知记录</a>
                </li>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="短信通知记录" align="absmiddle"/>
                    <a href="${ctx}/message/sms/query/index.aspx" target="pcMainFrame">短信通知记录</a>
                </li>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="邮件通知记录" align="absmiddle"/>
                    <a href="${ctx}/interfaceReqLog/query/index.aspx" target="pcMainFrame">商户请求日志记录</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="MenuBox2" id="Menu_5">
        <div class="titBox"><h3>
            <a href="javascript:showMenu(5);">
                <img src="${ctx}/themes/default/images/tree/exchangem.png" alt="交易管理" align="absmiddle"
                     class="treePic"/>
                &nbsp;交易管理
            </a>
        </h3></div>
        <div class="txtBox">
            <ul>
                <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="交易记录" align="absmiddle"/>
                    <a href="${ctx}/orderTrans/query/index.aspx" target="pcMainFrame">交易记录</a>
                </li>
                 <li>
                    <img src="${ctx}/themes/default/images/tree/query.png" alt="交易任务记录" align="absmiddle"/>
                    <a href="${ctx}/transTask/query/index.aspx" target="pcMainFrame">交易任务记录</a>
                </li>
            </ul>
        </div>
    </div>
    </div>
</div>
</body>
<script type="text/javascript">
    function ExChgClsName(Obj, NameA, NameB) {
        var Obj = document.getElementById(Obj) ? document.getElementById(Obj) : Obj;
        Obj.className = Obj.className == NameB ? NameA : NameB;
    }
    function showMenu(iNo) {
        ExChgClsName("Menu_" + iNo, "MenuBox", "MenuBox2");
    }
    $(document).ready(function() {
        $("ul li a").each(function() {
            $(this).click(function() {
                $(".leftSelectedLink").removeClass("leftSelectedLink").addClass("leftUnSelectedLink").css("background-color", "");
                $(this).parent().removeClass("leftUnSelectedLink").addClass("leftSelectedLink").css("background-color", "#FFF");
            });
        });
        $("li").each(function() {
            if ($.browser.msie) {
                $(this).css("padding-top", "4px");
            }
        });
        $(".titBox").each(function() {
            if ($.browser.msie) {
                $(this).find("a").css("padding-top", "3px");
            }
        });
    });
</script>
</html>
